package xyz.lne.researchgroupmanage.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author team7
 * @since 2021-01-19
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Research对象", description="")
public class Research implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "课题id")
    @TableId(value = "research_id", type = IdType.AUTO)
    private Integer researchId;

    @ApiModelProperty(value = "课题号")
    private String account;

    @ApiModelProperty(value = "课题名")
    private String name;

    @ApiModelProperty(value = "课题组头像")
    private String researchImg;

    @ApiModelProperty(value = "课题简介")
    private String introduction;

    @ApiModelProperty(value = "创建日期")
    @TableField(fill = FieldFill.INSERT)
    private Date createDate;

    @ApiModelProperty(value = "课题负责人id")
    private Integer userId;

    @ApiModelProperty(value = "所属课题组id")
    private Integer researchgroupId;

    @ApiModelProperty(value = "加入课题组状态")
    private Integer joinStatus;

    @ApiModelProperty(value = "加入课题组时间")
    @TableField("joingroup_time")
    private Date joinGroupTime;

    @ApiModelProperty(value = "是否解散(0未解散 1已解散)")
    private Boolean isDissolve;

    @ApiModelProperty(value = "是否隐藏(0不隐藏 1隐藏)")
    private Boolean isHide;


}
